package com.yy.service;

import com.yy.pojo.Category;

import java.util.List;

public interface CategoryService {

    //新增分类
    void add(Category category);

    List<Category> list();

    Category findById(Integer id);

    void updateCategory( Category category);

    void delete(Integer id);
}
